package com.mr.model;

public class WillCS extends BaseInfo{
	private static final long serialVersionUID = 3644279794530553258L;
	public static final String WILL_SHOP = "shop";
	public static final String WILL_PROXY = "proxy";
	private String willtype;
	private Long relatedid;
	public WillCS(){
		
	}
	public Long getRelatedid() {
		return relatedid;
	}

	public void setRelatedid(Long relatedid) {
		this.relatedid = relatedid;
	}

	public String getWilltype() {
		return willtype;
	}

	public void setWilltype(String willtype) {
		this.willtype = willtype;
	}

	public boolean equals(Object o) {
		if (this == o)
			return true;
		if (!(o instanceof Discount))
			return false;

		final WillCS temp = (WillCS) o;

		return !(this.getId() != null ? !(this.getId().equals(temp.getId()))
				: (temp.getId() != null));

	}

	public int hashCode() {
		return (this.getId() != null ? this.getId().hashCode() : 0);
	}
}
